package de.slothsoft.network;

import java.awt.Component;
import java.awt.GridLayout;

import javax.swing.JPanel;

import de.slothsoft.commons.swing.window.AbstractMainFrame;

@SuppressWarnings("nls")
public class MainFrame extends AbstractMainFrame {

	private static final long serialVersionUID = 8643174002203919147L;

	@Override
	protected Component createComponents() {
		setTitle("Slothsoft Network Test");

		JPanel panel = new JPanel();
		panel.setLayout(new GridLayout(1, 2));
		panel.add(new ServerPanel());
		panel.add(new ClientsPanel());
		return panel;
	}

}
